{{/*
    Docs: https://docs.hugoblox.com/content/writing-markdown-latex/#link-to-a-page
    Parameters
    ----------
    #0 : positional
        URL for the link (if local path, it is relative to the page folder).
    #1 : optional, positional
        Pass "newtab" as the second argument to open the link in a new tab.
*/}}

<a href="{{ .Get 0 | relURL }}"{{ if len .Params | eq 2 }} target="_blank"{{ end }}>{{ .Inner }}</a>
